/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package gui.frames.internos;

import controle.gui.frames.internos.ControleBoletinsPendentes;
import controle.gui.frames.internos.ControleVisitaBoletinsPendentes;

/**
 *
 * @author Nero
 */
public class IFVisitaBoletinsPendentes extends IFVisitaPesquisa {

    private ControleVisitaBoletinsPendentes controle = null;

    public IFVisitaBoletinsPendentes(ControleBoletinsPendentes controleBoletim) {
        super();
        controle = new ControleVisitaBoletinsPendentes(this, controleBoletim);
        this.inicializa();
    }

    @Override
    public void inicializa() {
        controle.inicializa();
    }

    @Override
    public void exibirVisita() {
        controle.preencheGUI();
    }

    @Override
    public void buttonLimparActionPerformed(java.awt.event.ActionEvent evt) {
        controle.limparGUI();
    }
    
    @Override
    public void buttonOkActionPerformed(java.awt.event.ActionEvent evt) {                                         
        controle.inserirAlterarLinha();
    }

}
